package kr.or.eclipse.democamp;

import java.util.UUID;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class ActivateToken {
	private String mail = "";

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private String code = UUID.randomUUID().toString();

	public ActivateToken() {
	}

	public String getCode() {
		return code;
	}

	public String getMail() {
		return mail;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}
}
